/* 全局重置和基础样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    overflow: hidden;
    background: url('background-image.webp') no-repeat left center;
    background-size: 100% 100%;
    background-color: #F8F8F8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    width: 1440px;
    height: 900px;
    position: relative;
}

.logo {
    position: absolute;
    top: 31px;
    left: 42px;
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
}


/* 登录区域 */

.login-section {
    position: absolute;
    top: 120px;
    left: 820px;
    width: 460px;
    height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 460px;
    height: 620px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 36px;
    position: relative;
    box-sizing: border-box;
}


/* 欢迎头部 */

.welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 33px;
}

.welcome-title {
    font-family: 'Roboto', sans-serif;
    font-size: 21px;
    font-weight: 400;
    color: #000000;
    line-height: 1.17;
}

.signup-link {
    font-size: 13px;
    color: #8D8D8D;
    text-align: right;
    line-height: 1.5;
    cursor: pointer;
    transition: color 0.3s ease;
}

.signup-link:hover {
    color: #4285F4;
}


/* 登录标题 */

.login-title {
    font-size: 45px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 32px;
    line-height: 1.5;
}


/* 社交登录按钮 */

.social-login {
    display: flex;
    gap: 20px;
    margin-bottom: 52px;
    align-items: center;
}

.social-btn {
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.google-btn {
    width: 298px;
    height: 55px;
    background: #E9F1FF;
    color: #4285F4;
    gap: 21px;
    justify-content: flex-start;
    padding-left: 32px;
}

.facebook-btn,
.apple-btn {
    width: 60px;
    height: 55px;
    background: #FFFFFF;
    padding: 0;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* 输入框组 */

.input-group {
    margin-bottom: 20px;
    width: 388px;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #000000;
    margin-bottom: 8px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

.input-group input {
    width: 388px;
    height: 50px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    color: #000000;
    background: #FFFFFF;
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: #4285F4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.input-group input::placeholder {
    color: #808080;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 300;
}


/* 第二个输入框（密码）的边框颜色 */

.input-group:nth-child(6) input {
    border-color: #ADADAD;
}

.input-group:nth-child(6) input:focus {
    border-color: #4285F4;
}


/* 忘记密码链接 */

.forgot-password {
    text-align: right;
    margin-bottom: 32px;
}

.forgot-password a {
    color: #4285F4;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #3367d6;
}


/* 登录按钮 */

.login-btn {
    width: 200px;
    height: 50px;
    background: #779341;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-left: auto;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 19px 0px rgba(119, 147, 65, 0.3);
}

.login-btn:hover {
    background: #6a8239;
    transform: translateY(-2px);
    box-shadow: 0px 6px 25px 0px rgba(119, 147, 65, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}